<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>data 数据类型</title>
		<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
	</head>
	<body>
		<div id="app">
			{{ message }}
			<h2>{{ school.name }}----{{ school.mobile }}</h2>
			<ul>
				<li>{{campus[0]}}</li>
				<li>{{campus[1]}}</li>
				<li>{{campus[2]}}</li>
				<li>{{campus[3]}}</li>
			</ul>
			
		</div>
		
		<script type="text/javascript">
			var app = new Vue({
				el: "#app",
				data:{
					message: "您好，小浩浩！",
					school:{
						name: "前端程序员",
						mobile: "15521683547",
					},
					campus:["杨浩","杨小浩","小小浩","小浩浩"]
				}
			})
		</script>
	</body>
</html>
